package com.ad.pet.app.recharge;

import com.ad.pet.common.structure.mvp.AbsView;
import com.ad.pet.common.structure.mvp.BasePresenter;
import com.ad.pet.models.remote.CommList;
import com.ad.pet.models.remote.recharge.Alipay;
import com.ad.pet.models.remote.recharge.Recharge;
import com.ad.pet.models.remote.recharge.Weixin;

import java.util.List;

/**
 * Created by SEELE on 2018/6/5.
 */

public interface RechargeContract  {

    interface Presenter extends BasePresenter<RechargeContract.View> {

        void getPayChannal();
        void get_pay_wx(String value,String type);
        void get_pay_alipay(String value,String type);
    }

    interface View extends AbsView {
        void getPayChannalSuccess(CommList<List<Recharge>> recharges);
        void get_pay_wx(Weixin weixin);
        void get_pay_alipay(Alipay alipay);
    }
}
